package com.edgar.junit;

public class ErrorResponse implements Response {

	private Request request;
	private Exception exception;

	public ErrorResponse(Request request, Exception exception) {
		this.request = request;
		this.exception = exception;
	}

	public final Request getRequest() {
		return request;
	}

	public final void setRequest(Request request) {
		this.request = request;
	}

	public final Exception getException() {
		return exception;
	}

	public final void setException(Exception exception) {
		this.exception = exception;
	}

	public String getName() {
		return null;
	}

}
